package com.videoaggre.zcl.ui.activity.wallpaper.enterdesk

import androidx.fragment.app.commit
import com.videoaggre.zcl.R
import com.videoaggre.zcl.bean.EnterdeskClassify
import com.videoaggre.zcl.helper.InjectBundle
import com.videoaggre.zcl.ui.activity.BaseActivity
import com.videoaggre.zcl.ui.fragment.enterdesk.EnterdeskClassifyImageFragment
import com.videoaggre.zcl.ui.widget.TitleBarLayout
import kotlinx.android.synthetic.main.activity_fragment.*

class EnterdeskClassifyImageActivity : BaseActivity(R.layout.activity_fragment) {
    private val mEnterdeskClassify: EnterdeskClassify by InjectBundle()
    override fun initView() {
        titleView.titleStr = mEnterdeskClassify.name
        titleView.changeStyle(TitleBarLayout.TBL_LOGIN)
        supportFragmentManager.commit { replace(R.id.frameLayout, EnterdeskClassifyImageFragment.createInstance(mEnterdeskClassify)) }
    }
}